#pragma once

#include "common.h"

#include "../mapobjects/property.h"
#include "../mapobjects/mapobject.h"
//#include "../mapobjects/geometry.h"
#include "mainwindow.h"

class Viewer;

class SampleListener : public QObject
{
Q_OBJECT
public:

	SampleListener ( Viewer * viewer );
	~SampleListener () {}

protected slots:
	void onClickEvent ( const QPointF & );
	void onMapLoaded  ();

private:
	Viewer * viewer;
	vector<QPointF> points;
	MapObject * mapObject;
};
